<?php if (!defined('THINK_PATH')) exit();?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<HEAD>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<TITLE>『<?php echo (C("web_name")); ?>管理平台』</TITLE>
<link rel="stylesheet" type="text/css" href="../Public/css/main.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Css/shThemeDefault.css" />	
<!--[if IE]><link rel="stylesheet" type="text/css" href="../Public/css/ie.css" /><![endif]-->
<script type="text/javascript" src="../Public/js/common.js"></script>
<script type="text/javascript" src="../Public/js/jquery.min.js"></script>
<script type="text/javascript" src="../Public/js/jquery_ui_custom.js"></script>
<script type="text/javascript" src="../Public/js/jquery.form.js"></script>
<script type="text/javascript" src="__PUBLIC__/Js/shCore.js"></script>
<SCRIPT LANGUAGE="JavaScript">
<!--
//var $J=jQuery.noConflict();
//指定当前组模块URL地址 
var URL = '__URL__';
var ACTION_NAME = 'index';
var APP	 =	 '__APP__';
var PUBLIC = '__PUBLIC__';

jQuery(document).ready(function(){
    jQuery(document).bind("contextmenu",function(e){
        //return false;
    });
});
//-->
</SCRIPT>
</head>

<body>

<script type="text/javascript" src="../Public/js/jquery.sparkline.min.js"></script>
<script type="text/javascript" src="../Public/js/bootstrap-modal.min.js"></script>
<script type="text/javascript" src="../Public/js/bootstrap-bootbox.min.js"></script>	
<script type="text/javascript" src="../Public/js/bootstrap-progressbar.js"></script>
<script type="text/javascript" src="../Public/js/jquery.collapsible.min.js"></script>
<script type="text/javascript" src="../Public/js/jquery.uniform.min.js"></script>
<script type="text/javascript" src="../Public/js/index.js"></script>
<!-- Top nav -->
<div id="top">
    <div class="top-wrapper">
        <a href="index.html" title=""><img src="../Public/images/logo.png" class="logo" alt="" /></a>
        <ul class="topnav">
            <li class="topuser">
                <a title="我的信息" data-toggle="dropdown"><img style="border:none;" src="../Public/images/man_28.png" alt="" /><span><?php echo ($admin_nickname); ?></span><i class="caret"></i></a>
                <ul class="dropdown-menu">
                    <li><a href="<?php echo U('Admin/User/profile');?>"><span class="user-profile"></span>我的信息</a></li>
                    <li><a href="<?php echo U('Admin/User/password');?>"><span class="user-settings"></span>修改密码</a></li>
                    <li><a href="<?php echo U('Admin/Public/logout');?>" message="确定要退出系统吗？" class="logout-action"><span class="user-logout"></span>退出系统</a></li>
                </ul>
            </li>
            <li><a href="http://<?php echo ($_SERVER['SERVER_NAME']); ?>/" title="网站首页" target="_blank"><b class="index"></b></a></li>
            <li><a data-toggle="dropdown" title="系统设置"><b class="settings"></b></a>
							<ul class="dropdown-menu"><?php echo (configgroup($configgroup)); ?>
								<?php if(is_array($configgroup)): $i = 0; $__LIST__ = $configgroup;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cg): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Admin/Config/setting?group='.$cg['name']);?>"><i class="<?php echo ($cg["icon"]); ?>"></i><?php echo ($cg["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
								<li><a href="<?php echo U('Admin/Config/index');?>"><i class="font-link"></i>参数管理</a></li>
							</ul>
            </li>
            <li><a href="<?php echo U('Admin/Comment/index');?>" title="留言咨询管理"><b class="mail"></b></a></li>
            <li><a href="<?php echo U('Admin/Seokey/index');?>" title="长尾关键词管理"><b class="responsive-nav"></b></a></li>
            <li><a href="<?php echo U('Admin/Public/logout');?>" message="确定要退出系统吗？" class="logout-action"><b class="logout"></b></a></li>
        </ul>
    </div>
</div>
<!-- /top nav -->

<!-- Main wrapper -->
<div class="wrapper three-columns">

    	<!-- Left sidebar -->
    <div class="sidebar" id="left-sidebar">
        <ul class="navigation standard"><!-- standard nav -->
            <li<?php echo ($li_active['index']); ?>><a href="<?php echo U('Admin/Index/index');?>" <?php echo ($a_current['index']); ?>><img src="../Public/images/tables.png" alt="" />后台首页</a></li>
            <li<?php echo ($li_active['new']); ?>><a class="expand" href="#" <?php echo ($a_current['new']); ?>><img src="../Public/images/form-elements.png" alt="" />公司新闻<strong>4</strong></a>
                <ul>
                    <li<?php echo ($li_current['new_add']); ?>><a href="<?php echo U('Admin/New/add');?>">发布新闻</a></li>
                    <li<?php echo ($li_current['new_index']); ?>><a href="<?php echo U('Admin/New/index');?>">新闻管理</a></li>
                    <li<?php echo ($li_current['new_index_1']); ?>><a href="<?php echo U('Admin/New/index?newtype=1');?>">公告管理</a></li>
                    <li<?php echo ($li_current['new_category']); ?>><a href="<?php echo U('Admin/Category/index?module=New');?>">分类管理</a></li>
                </ul>
            </li>
            <li<?php echo ($li_active['article']); ?>><a class="expand" href="#" <?php echo ($a_current['article']); ?>><img src="../Public/images/form-elements.png" alt="" />文章资讯<strong>4</strong></a>
                <ul>
                    <li<?php echo ($li_current['article_add']); ?>><a href="<?php echo U('Admin/Article/add');?>">发布文章</a></li>
                    <li<?php echo ($li_current['article_index']); ?>><a href="<?php echo U('Admin/Article/index');?>">文章管理</a></li>
                    <li<?php echo ($li_current['article_category']); ?>><a href="<?php echo U('Admin/Category/index?module=Article');?>">分类管理</a></li>
                </ul>
            </li>            
            <li<?php echo ($li_active['product']); ?>><a class="expand" href="#" <?php echo ($a_current['product']); ?>><img src="../Public/images/components.png" alt="" />产品管理<strong>3</strong></a>
                <ul>
                    <li<?php echo ($li_current['product_add']); ?>><a href="<?php echo U('Admin/Product/add');?>">添加产品</a></li>
                    <li<?php echo ($li_current['product_index']); ?>><a href="<?php echo U('Admin/Product/index');?>">产品管理</a></li>
                    <li<?php echo ($li_current['product_category']); ?>><a href="<?php echo U('Admin/Category/index?module=Product');?>">产品分类</a></li>
                </ul>
            </li>
            <li<?php echo ($li_active['case']); ?>><a class="expand" href="#" <?php echo ($a_current['case']); ?>><img src="../Public/images/buttons-icons.png" alt="" />案例管理<strong>3</strong></a>
                <ul>
                    <li<?php echo ($li_current['case_add']); ?>><a href="<?php echo U('Admin/Case/add');?>">添加案例</a></li>
                    <li<?php echo ($li_current['case_index']); ?>><a href="<?php echo U('Admin/Case/index');?>">案例管理</a></li>
                    <li<?php echo ($li_current['case_category']); ?>><a href="<?php echo U('Admin/Category/index?module=Case');?>">案例分类</a></li>
                </ul>
            </li>
            <li<?php echo ($li_active['down']); ?>><a class="expand" href="#" <?php echo ($a_current['down']); ?>><img src="../Public/images/buttons-icons.png" alt="" />下载管理<strong>3</strong></a>
                <ul>
                    <li<?php echo ($li_current['down_add']); ?>><a href="<?php echo U('Admin/Down/add');?>">添加下载</a></li>
                    <li<?php echo ($li_current['down_index']); ?>><a href="<?php echo U('Admin/Down/index');?>">下载管理</a></li>
                    <li<?php echo ($li_current['down_category']); ?>><a href="<?php echo U('Admin/Category/index?module=Down');?>">下载分类</a></li>
                </ul>            	
            </li>            
            <li<?php echo ($li_active['job']); ?>><a class="expand" href="#" <?php echo ($a_current['job']); ?>><img src="../Public/images/charts.png" alt="" />招聘管理<strong>3</strong></a>
                <ul>
                    <li<?php echo ($li_current['job_add']); ?>><a href="<?php echo U('Admin/Job/add');?>">发布招聘</a></li>
                    <li<?php echo ($li_current['job_index']); ?>><a href="<?php echo U('Admin/Job/index');?>">招聘管理</a></li>
                    <li<?php echo ($li_current['job_category']); ?>><a href="<?php echo U('Admin/Category/index?module=Job');?>">职位分类</a></li>
                </ul>            		
            </li>                     
            <li<?php echo ($li_active['pages']); ?>><a class="expand" href="#" <?php echo ($a_current['pages']); ?>><img src="../Public/images/page-layouts.png" alt="" />单页管理<strong>3</strong></a>
                <ul>
                    <li<?php echo ($li_current['pages_add']); ?>><a href="<?php echo U('Admin/Pages/add');?>">添加页面</a></li>
                    <li<?php echo ($li_current['pages_index']); ?>><a href="<?php echo U('Admin/Pages/index');?>">单页管理</a></li>
                    <li<?php echo ($li_current['pages_category']); ?>><a href="<?php echo U('Admin/Category/index?module=Pages');?>">单页分类</a></li>
                </ul>
            </li>            
            <li<?php echo ($li_active['order']); ?>><a href="<?php echo U('Admin/Order/index');?>" <?php echo ($a_current['order']); ?>><img src="../Public/images/tables.png" alt="" />订单管理</a></li>            
            <li<?php echo ($li_active['comment']); ?>><a href="<?php echo U('Admin/Comment/index');?>" <?php echo ($a_current['comment']); ?>><img src="../Public/images/messages.png" alt="" />评论留言</a></li>
            <li<?php echo ($li_active['datacall']); ?>><a href="<?php echo U('Admin/Datacall/index');?>" <?php echo ($a_current['datacall']); ?>><img src="../Public/images/error-pages.png" alt="" />数据调用</a></li>
            <li<?php echo ($li_active['focuspic']); ?>><a href="<?php echo U('Admin/Focuspic/index');?>" <?php echo ($a_current['focuspic']); ?>><img src="../Public/images/error-pages.png" alt="" />焦点图管理</a></li>
            <li<?php echo ($li_active['menu']); ?>><a href="<?php echo U('Admin/Menu/index');?>" <?php echo ($a_current['menu']); ?>><img src="../Public/images/typography.png" alt="" />导航菜单</a></li>
            <li<?php echo ($li_active['seokey']); ?>><a class="expand" href="#" <?php echo ($a_current['seokey']); ?>><img src="../Public/images/typography.png" alt="" />长尾关键词<strong>3</strong></a>
                <ul>
                    <li<?php echo ($li_current['seokey_add']); ?>><a href="<?php echo U('Admin/Seokey/add');?>">添加长尾</a></li>
                    <li<?php echo ($li_current['seokey_index']); ?>><a href="<?php echo U('Admin/Seokey/index');?>">长尾记录单</a></li>
                    <li<?php echo ($li_current['seokey_search']); ?>><a href="<?php echo U('Admin/Seokey/search');?>">长尾/关键词挖掘</a></li>
                </ul>
            </li>
            <li<?php echo ($li_active['template']); ?>><a class="expand" href="#" <?php echo ($a_current['template']); ?>><img src="../Public/images/calendar.png" alt="" />模板样式<strong>2</strong></a>
                <ul>
                    <li<?php echo ($li_current['template_index']); ?>><a href="<?php echo U('Admin/Template/index');?>">样式管理</a></li>
                    <li<?php echo ($li_current['template_theme']); ?>><a href="<?php echo U('Admin/Template/theme');?>">主题管理</a></li>
                </ul>
            </li>
            <li<?php echo ($li_active['user']); ?>><a href="<?php echo U('Admin/User/index');?>" <?php echo ($a_current['user']); ?>><img src="../Public/images/file-manipulations.png" alt="" />用户管理</a></li>
            <li<?php echo ($li_active['online']); ?>><a href="<?php echo U('Admin/Online/index');?>" <?php echo ($a_current['online']); ?>><img src="../Public/images/file-manipulations.png" alt="" />在线客服</a></li>
            <li<?php echo ($li_active['link']); ?>><a href="<?php echo U('Admin/Link/index');?>" <?php echo ($a_current['link']); ?>><img src="../Public/images/file-manipulations.png" alt="" />友情链接</a></li>            
        </ul><!-- /standard nav -->

    </div>
    <!-- /left sidebar -->
    
    <!-- Main content -->
    <div class="content">
    		<?php if($Think.config.admin_notice): ?><!-- Info notice -->
        <div class="notice outer">
            <div class="note note-danger">
                <button type="button" class="close">×</button>
                <?php echo (C("admin_notice")); ?>
            </div>
        </div>
        <!-- /info notice --><?php endif; ?>
    		<div class="outer">
	        	<div class="inner">
	                
	
                <div class="page-header"><!-- Page header -->
                    <h5><i class="font-home"></i>后台首页</h5>
                </div><!-- /page header -->
                
                <div class="body">
                	
                    <!-- Middle navigation standard -->
                    <ul class="midnav">
                    	<li><a href="<?php echo U('Admin/New/add');?>" title="发布新闻"><img src="../Public/images/issue.png" alt="" /><SPAN>发布新闻</SPAN></a></li>
                    	<li><a href="<?php echo U('Admin/Product/add');?>" title="添加产品"><img src="../Public/images/product.png" alt="" /><SPAN>添加产品</SPAN></a></li>
                    	<li><a href="<?php echo U('Admin/Comment/index');?>" title="留言咨询管理"><img src="../Public/images/comment.png" alt="" /><SPAN>留言管理</SPAN></a></li>
                    	<li><a href="<?php echo U('Admin/Seokey/index');?>" title="长尾关键词记录单管理"><img src="../Public/images/order-149.png" alt="" /><SPAN>长尾记录单</SPAN></a></li>
                    	<li><a href="<?php echo U('Admin/Seokey/search');?>" title="挖掘关键词"><img src="../Public/images/config.png" alt="" /><SPAN>挖掘关键词</SPAN></a></li>
                    	<li><a href="<?php echo U('Admin/Spider/index');?>" title="蜘蛛爬行日志"><img src="../Public/images/Spider.png" alt="" /><SPAN>蜘蛛爬行日志</SPAN></a></li>
                    	<li><a href="<?php echo U('Admin/Link/index');?>" title="检查友情链接"><img src="../Public/images/donate.png" alt="" /><SPAN>链接检查</SPAN></a></li>
                    </ul>
                    <!-- /middle navigation standard -->

                    <!-- Content container -->
                    <div class="container">

                        <!-- Site Summary -->
                        <div class="block well">
                            <div class="navbar">
                                <div class="navbar-inner">
                                    <h5>今日网站概况</h5>
                                    <div class="nav pull-right">
                                        <a href="#" class="dropdown-toggle just-icon" data-toggle="dropdown"><i class="font-cog"></i></a>
                                        <ul class="dropdown-menu pull-right">
																				<?php if(is_array($configgroup)): $i = 0; $__LIST__ = $configgroup;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$cg): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Admin/Config/setting?group='.$cg['name']);?>"><i class="<?php echo ($cg["icon"]); ?>"></i><?php echo ($cg["title"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </ul>
                                    </div>
                                </div>
                            </div>

		                        <div class="table-overflow siteinfo">
		                           <table class="table table-bordered table-block">
		                              <thread><tr><th colspan="6">蜘蛛今日爬行统计</th></tr></thread>
		                              <tr>
		                              	<th>Baidu <strong title="百度权重 BR" class="info-primary"><?php echo ($siteinfo['baidu_br']); ?></strong></th><td><?php echo ($siteinfo['today_baidu']); ?> 次</td>
		                              	<th>Google <strong title="Google权重 PR" class="info-success"><?php echo ($siteinfo['google_pr']); ?></strong></th><td><?php echo ($siteinfo['today_google']); ?> 次</td>
		                              	<th>Sogou</th><td><?php echo ($siteinfo['today_sogou']); ?> 次</td>
		                              </tr>
		                              <tr>
		                              	<th>Soso</th><td><?php echo ($siteinfo['today_soso']); ?> 次</td>
		                              	<th>Yahoo</th><td><?php echo ($siteinfo['today_yahoo']); ?> 次</td>
		                              	<th>Bing</th><td><?php echo ($siteinfo['today_bing']); ?> 次</td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">蜘蛛爬行模块统计</th></tr></thread> 
		                              <tr>
		                              	<th>新闻</th><td><?php echo ($siteinfo['module_new']); ?> 次</td>
		                              	<th>产品</th><td><?php echo ($siteinfo['module_product']); ?> 次</td>
		                              	<th>下载</th><td><?php echo ($siteinfo['module_down']); ?> 次</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td><?php echo ($siteinfo['module_case']); ?> 次</td>
		                              	<th>招聘</th><td><?php echo ($siteinfo['module_job']); ?> 次</td>
		                              	<th>博客</th><td><?php echo ($siteinfo['module_blog']); ?> 次</td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">百度蜘蛛爬行统计</th></tr></thread>
		                              <tr>
		                              	<th>新闻</th><td><?php echo ($siteinfo['baidu_new']); ?> 次</td>
		                              	<th>产品</th><td><?php echo ($siteinfo['baidu_product']); ?> 次</td>
		                              	<th>下载</th><td><?php echo ($siteinfo['baidu_down']); ?> 次</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td><?php echo ($siteinfo['baidu_case']); ?> 次</td>
		                              	<th>招聘</th><td><?php echo ($siteinfo['baidu_job']); ?> 次</td>
		                              	<th>博客</th><td><?php echo ($siteinfo['baidu_blog']); ?> 次</td>
		                              </tr>               
		                              
		                              <thread><tr><th colspan="6">今日用户访问统计</th></tr></thread>
		                              <tr>
		                              	<th>新闻</th><td><?php echo ($siteinfo['user_new']); ?> 次</td>
		                              	<th>产品</th><td><?php echo ($siteinfo['user_product']); ?> 次</td>
		                              	<th>下载</th><td><?php echo ($siteinfo['user_down']); ?> 次</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td><?php echo ($siteinfo['user_case']); ?> 次</td>
		                              	<th>招聘</th><td><?php echo ($siteinfo['user_job']); ?> 次</td>
		                              	<th>博客</th><td><?php echo ($siteinfo['user_blog']); ?> 次</td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">网站收录统计</th></tr></thread>
		                              <tr>
		                              	<th>Baidu<?php if($siteinfo['site_baidu_index'] == 1): ?><strong title="首页不在第一位" class="info-danger">-1</strong><?php endif; ?></th><td><?php echo ($siteinfo['site_baidu_count']); ?> 篇<?php if($siteinfo['site_baidu_plus'] < 0): ?><strong title="今日收录减少<?php echo abs($siteinfo['site_baidu_plus']); ?>篇" class="info-warning"><?php echo ($siteinfo['site_baidu_plus']); ?></strong><?php endif; if($siteinfo['site_baidu_plus'] > 0): ?><strong title="今日收录增加<?php echo abs($siteinfo['site_baidu_plus']); ?>篇" class="info-success">+<?php echo ($siteinfo['site_baidu_plus']); ?></strong><?php endif; ?></td>
		                              	<th>Google<?php if($siteinfo['site_google_index'] == 1): ?><strong title="首页不在第一位" class="info-danger">-1</strong><?php endif; ?></th><td><?php echo ($siteinfo['site_google_count']); ?> 篇<?php if($siteinfo['site_google_plus'] < 0): ?><strong title="今日收录减少<?php echo abs($siteinfo['site_google_plus']); ?>篇" class="info-warning"><?php echo ($siteinfo['site_google_plus']); ?></strong><?php endif; if($siteinfo['site_google_plus'] > 0): ?><strong title="今日收录增加<?php echo abs($siteinfo['site_google_plus']); ?>篇" class="info-success">+<?php echo ($siteinfo['site_google_plus']); ?></strong><?php endif; ?></td>
		                              	<th>Sogou<?php if($siteinfo['site_sogou_index'] == 1): ?><strong title="首页不在第一位" class="info-danger">-1</strong><?php endif; ?></th><td><?php echo ($siteinfo['site_sogou_count']); ?> 篇<?php if($siteinfo['site_sogou_plus'] < 0): ?><strong title="今日收录减少<?php echo abs($siteinfo['site_sogou_plus']); ?>篇" class="info-warning"><?php echo ($siteinfo['site_sogou_plus']); ?></strong><?php endif; if($siteinfo['site_sogou_plus'] > 0): ?><strong title="今日收录增加<?php echo abs($siteinfo['site_sogou_plus']); ?>篇" class="info-success">+<?php echo ($siteinfo['site_sogou_plus']); ?></strong><?php endif; ?></td>
		                              </tr>
		                              <tr>
		                              	<th>Soso<?php if($siteinfo['site_soso_index'] == 1): ?><strong title="首页不在第一位" class="info-danger">-1</strong><?php endif; ?></th><td><?php echo ($siteinfo['site_soso_count']); ?> 篇<?php if($siteinfo['site_soso_plus'] < 0): ?><strong title="今日收录减少<?php echo abs($siteinfo['site_soso_plus']); ?>篇" class="info-warning"><?php echo ($siteinfo['site_soso_plus']); ?></strong><?php endif; if($siteinfo['site_soso_plus'] > 0): ?><strong title="今日收录增加<?php echo abs($siteinfo['site_soso_plus']); ?>篇" class="info-success">+<?php echo ($siteinfo['site_soso_plus']); ?></strong><?php endif; ?></td>
		                              	<th>Yahoo<?php if($siteinfo['site_yahoo_index'] == 1): ?><strong title="首页不在第一位" class="info-danger">-1</strong><?php endif; ?></th><td><?php echo ($siteinfo['site_yahoo_count']); ?> 篇<?php if($siteinfo['site_yahoo_plus'] < 0): ?><strong title="今日收录减少<?php echo abs($siteinfo['site_yahoo_plus']); ?>篇" class="info-warning"><?php echo ($siteinfo['site_yahoo_plus']); ?></strong><?php endif; if($siteinfo['site_yahoo_plus'] > 0): ?><strong title="今日收录增加<?php echo abs($siteinfo['site_yahoo_plus']); ?>篇" class="info-success">+<?php echo ($siteinfo['site_yahoo_plus']); ?></strong><?php endif; ?></td>
		                              	<th>Bing<?php if($siteinfo['site_bing_index'] == 1): ?><strong title="首页不在第一位" class="info-danger">-1</strong><?php endif; ?></th><td><?php echo ($siteinfo['site_bing_count']); ?> 篇<?php if($siteinfo['site_bing_plus'] < 0): ?><strong title="今日收录减少<?php echo abs($siteinfo['site_bing_plus']); ?>篇" class="info-warning"><?php echo ($siteinfo['site_bing_plus']); ?></strong><?php endif; if($siteinfo['site_bing_plus'] > 0): ?><strong title="今日收录增加<?php echo abs($siteinfo['site_bing_plus']); ?>篇" class="info-success">+<?php echo ($siteinfo['site_bing_plus']); ?></strong><?php endif; ?></td>
		                              </tr>
		                              
		                              <thread><tr><th colspan="6">网站内容统计</th></tr></thread>
		                              <tr>
		                              	<th>新闻</th><td><?php echo ($catcount['New']['counts']); ?> 篇</td>
		                              	<th>产品</th><td><?php echo ($catcount['Product']['counts']); ?> 个</td>
		                              	<th>下载</th><td><?php echo ($catcount['Down']['counts']); ?> 篇</td>
		                              </tr>
		                              <tr>
		                              	<th>案例</th><td><?php echo ($catcount['Case']['counts']); ?> 个</td>
		                              	<th>招聘</th><td><?php echo ($catcount['Job']['counts']); ?> 条</td>
		                              	<th>博客</th><td><?php echo ($catcount['Blog']['counts']); ?> 篇</td>
		                              </tr>
		                              	                              
			                         </table>
			                      </div>

                        </div>
                        <!-- /Site Summary -->

                        <div class="separator-doubled"></div> 

                        <div class="row-fluid">

                            <!-- Column --> 
                            <div class="span6">

                                <!-- Timeline messages -->
                                <div class="block well">
                                    <div class="navbar">
                                        <div class="navbar-inner">
                                            <h5>最新留言咨询</h5>
                                        </div>
                                    </div>
                                    <div class="body">
                                        <div class="timeline-messages">
                                        <?php if(is_array($commentlist)): $i = 0; $__LIST__ = $commentlist;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><!-- Comment -->
                                            <div class="message">
                                                <a class="message-img" href="#"><img src="../Public/images/man_44.png" alt="" /></a>
                                                <div class="message-body">
                                                    <div class="text"><p><?php echo ($vo[contents]); ?></p></div>
                                                    <p class="attribution">by <a href="#non"><?php echo ($vo[nickname]); ?></a> at <?php echo (todate($vo[create_time])); ?> <a href="#">回复</a></p>
                                                </div>
                                            </div>
                                            <!-- /comment --><?php endforeach; endif; else: echo "" ;endif; ?>
                                        </div>
                                        
                                        <!-- Enter message input -->
                                        <div class="enter-message">
                                            <textarea name="enter-message" class="auto" rows="3" cols="1" placeholder="Enter your message..."></textarea>
                                            <div class="message-actions">
                                                <div class="user-is-typing"><img src="../Public/images/8s.gif" alt="" />客服回复内容...</div>
                                                <div class="send-button">
                                                    <input type="submit" name="send-message" class="btn btn-danger" value="回复留言" />
                                                </div>
                                            </div>
                                        </div>
                                        <!-- /enter message input -->
                                        
                                    </div>
                                </div>
                                <!-- /timeline messages -->

                            </div>  
                            <!-- /column -->  

                            <!-- Column -->
                            <div class="span6">

                                <!-- Calendar -->
                                <div class="block well">
                                    <div class="navbar"><div class="navbar-inner"><h5>系统信息概况</h5></div></div>
		                                		<div class="table-overflow">
		                                    	<table class="table table-bordered table-block">
		                                    		<?php if(is_array($info)): $i = 0; $__LIST__ = $info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><tr><td><?php echo ($key); ?></td><td><?php echo ($vo); ?></td></tr><?php endforeach; endif; else: echo "" ;endif; ?>
			                                    </table>
			                                  </div>
                                </div>
                                <!-- /calendar -->

                            </div>
                            <!-- /column -->

                        </div>

                    </div>
                    <!-- /content container -->
                    
                </div>
	          </div>
        </div>
    </div>
    <!-- /main content -->

    <!-- Right sidebar -->
    <div class="sidebar" id="right-sidebar">
        <div class="appendable">
        
            <!-- Sidebar stats -->
            <ul class="topstats block">
                <li>
                    <div class="left">蜘蛛爬行统计:<h1><?php echo ($sitechart["spider_sum"]); ?></h1></div>
                    <div class="topchart" id="spiders"><?php echo ($sitechart["spider"]); ?></div>
                </li>
                <li>
                    <div class="left">每日更新频率:<h1><?php echo ($sitechart["count_sum"]); ?></h1></div>
                    <div class="topchart" id="todaynews"><?php echo ($sitechart["count"]); ?></div>
                </li>
                <li>
                    <div class="left">用户访问统计:<h1><?php echo ($sitechart["user_sum"]); ?></h1></div>
                    <div class="topchart" id="todayviews"><?php echo ($sitechart["user"]); ?></div>
                </li>
            </ul>
            <!-- /sidebar stats -->
            
            <div class="separator-doubled"></div>
            
            <!-- Link Stats -->
            <ul class="user-list links-list checklink sidebar-links block">
                <li class="align-center active links-title"><a>友情链接检查</a></li>
                <?php if(is_array($defaultlinks)): $i = 0; $__LIST__ = $defaultlinks;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$dl): $mod = ($i % 2 );++$i; if(($dl["linktype"]) == "3"): ?><li><a href="<?php echo ($dl["url"]); ?>" title=""><i class="icon-question-sign icon-white"></i><?php echo ($dl["title"]); ?><span class="status_away"></span></a></li><?php endif; ?>
                	<?php if(($dl["linktype"]) == "4"): ?><li><a href="<?php echo ($dl["url"]); ?>" title=""><i class="icon-remove icon-white"></i><?php echo ($dl["title"]); ?><span class="status_off"></span></a></li><?php endif; ?>
                	<?php if($dl[linktype] < 3): ?><li class="link"><a href="<?php echo ($dl["url"]); ?>" title=""><i class="icon-ok icon-white"></i><?php echo ($dl["title"]); ?><span class="status_available"></span></a></li><?php endif; endforeach; endif; else: echo "" ;endif; ?>
            </ul>
            <!-- /Link Stats -->
                                
        </div>
    </div>
    <!-- /right sidebar -->
    
</div>
<!-- /main wrapper -->

</body>
</html>